﻿using Infra.LanguageGenerator;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Sinacor.Infra.Tools.LanguageGenerator;

namespace Sinacor.Infra.Tools.LanguageGenerator
{
    public partial class frmLanguageGenerator : Form
    {
        LanguageGenerator.XMLLanguageGenerator languageGenerator = new XMLLanguageGenerator();

        public frmLanguageGenerator()
        {
            InitializeComponent();
        }

        private void btnGerar_Click(object sender, EventArgs e)
        {

        }

        private void frmLanguageGenerator_Load(object sender, EventArgs e)
        {
            Log.Instance.Escreve("Inicializando o Language Generator");

            languageGenerator.GenerateLanguageXML(true);
            Form frm = this;
            Log.Instance.Escreve("Finalizado o Language Generator");
            frm.Close();
        }

        private void button1_Click(object sender, EventArgs e)
        {

        }
    }
}
